/*
 * Copyright The OpenTelemetry Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package com.xiashitech.agent.instrumentation.dubbo.common.inst;


import io.opentelemetry.javaagent.shaded.io.opentelemetry.context.propagation.TextMapSetter;

public enum DubboHeadersSetter implements TextMapSetter<DubboRequest> {
  INSTANCE;

  @Override
  public void set(DubboRequest request, String key, String value) {
    request.getContext().setAttachment(key, value);
  }
}
